from django.db import models
from DjangoUeditor.models import UEditorField


# lt
class UserModel(models.Model):
    id = models.AutoField(primary_key=True)
    number = models.CharField(max_length=32, verbose_name="学号")
    problem = models.CharField(max_length=64, verbose_name="问题")


    class Meta:
        db_table = 'users'
        verbose_name = '用户表'
        verbose_name_plural = verbose_name

class CommentsModel(models.Model):
    id = models.AutoField(primary_key=True)
    number = models.CharField(max_length=12, verbose_name="学号")